T03 - Creating ImageViews
ImageViews are components of a layout that display a graphical image. They are easy to create and use:
1. Download the red circle image at the following link:
http://upload.wikimedia.org/wikipedia/commons/f/f1/Ski_trail_rating_symbol_red_circle.png.
2. Rename the image as redcircle.png.
3. Locate the directory where you downloaded the image and copy the image.
4. Navigate to the res/drawable-hdpi folder and paste the image. 5. In the main.xml file, in the design tab, create an ImageView and set the src in the properties of the ImageView to @drawable/redcircle.
6. Change the layout_width and layout_height to the values you want, this will scale the image.